package com.smartcommunity.entity.building;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "验证楼栋是否存在")
public class BuildingExitsReq {

    @ApiModelProperty(value = "楼栋ID(编辑时必传)")
    private Integer id;

    @ApiModelProperty(value = "小区编码")
    @NotBlank
    private String villageCode;

    @ApiModelProperty(value = "楼栋号")
    @NotBlank
    private String buildingNo;
}
